package com.hfi.ood.litejunit.v2.framework.decorator;

import com.hfi.ood.litejunit.v2.framework.TestResult;

/**
 * A <em>Protectable</em> can be run and can throw a Throwable.
 * @see TestResult
 *
 * @author ChangLiang
 * @date 2020/5/27
 */
@FunctionalInterface
public interface Protectable {

    /**
     * Run the the following method protected.
     */
    void protect() throws Throwable;
}
